// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "MainMenu.generated.h"

/**
 * 
 */
UCLASS()
class NIFESTGAME_API UMainMenu : public UUserWidget
{
	GENERATED_BODY()

protected:
	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_GameName;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UButton* Button_StartGame;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UButton* Button_LoadGame;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UButton* Button_Settings;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UButton* Button_Quit;

	virtual void NativeConstruct() override;

	UFUNCTION(BlueprintCallable)
	virtual void OnStartGameButtonClicked();

	UFUNCTION(BlueprintCallable)
	virtual void OnLoadGameButtonClicked();

	UFUNCTION(BlueprintCallable)
	virtual void OnSettingsButtonClicked();

	UFUNCTION(BlueprintCallable)
	virtual void OnQuitButtonClicked();
};
